from common.unit import AndroidUI
from case.lnitial.lnitial_page import LnitialTest
from object.lnitial.fiest_use import FirstUseObject
import time


#    #com.bluephone/com.bluecart.activity.SplashActivity

# 首次使用流程
class FirstUseTest22:
    def __init__(self):
        self.driver = AndroidUI.get_webdriver()
        self.ln = LnitialTest()
        self.use = FirstUseObject()


    def sendtest(self):
        pass
        # self.driver.find_element_by_id("com.rjkj.medicalhighvalue:id/other_bg_rl").send_keys("llll")
        # self.driver.find_element_by_id("android:id/navigationBarBackground").click()
        # time.sleep(10)

    def sendtest2(self):
        # self.driver.find_element_by_id("com.rjkj.medicalhighvalue:id/other_bg_rl").send_keys("llll")
        self.driver.find_element_by_id("android:id/navigationBarBackground").click()
        self.driver.find_element_by_id("com.rjkj.medicalhighvalue:id/other_bg_rl").click()
        time.sleep(10)

if __name__ == '__main__':
    test22=FirstUseTest22()
    # test22.sendtest()
    test22.sendtest2()